package com.groupbuying.storeinternal.dao;

import com.groupbuying.storeinternal.domain.StoreRecommendDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

/**
 * 推荐商户
 * @author wenguoqiang
 * @email wenguoqiango@163.com
 * @date 2019-09-11 19:34:35
 * @des
 */

@Mapper
@Repository
public interface StoreRecommendDao {

	StoreRecommendDO get(BigInteger id);
	
	List<StoreRecommendDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(StoreRecommendDO storeRecommend);
	
	int update(StoreRecommendDO storeRecommend);
	
	int remove(BigInteger id);
	
	int batchRemove(BigInteger[] ids);
}
